package com.school.dto.score;

import javax.validation.constraints.NotNull;

public class InsertScoreDTO {

    @NotNull(message = "评分者不能为空")
    private Integer commentatorId;

    @NotNull(message = "教师不能为空")
    private Integer tId;

    @NotNull(message = "打分不能为空")
    private Integer score;

    private String content;



    public Integer getCommentatorId() {
        return commentatorId;
    }

    public void setCommentatorId(Integer commentatorId) {
        this.commentatorId = commentatorId;
    }

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

}